let initState = {
  dataArr: []
}
function reducer1(preState = initState, action) {
  const { type, payload } = action;
  switch (type) {
    case 'reqData':
      return { ...preState, dataArr: payload }
    default:
      return preState
  }
}
export default reducer1

